import http from '@/service/http'
import type { IEditMyInfoParams } from './types'

const InfoApi = {
  getApplyList() {
    return http.get('/api/web/admin/getMyInfo')
  },
  approvalApply(params: IEditMyInfoParams) {
    return http.post('/api/web/admin/editMyInfo', params)
  }
}

export default InfoApi
